package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 
 * @author Rongjie
 */
@Data
@TableName("fintech_rent_repay_order")
@KeySequence(value = "fintech_rent_repay_order_SEQ")
@ApiModel(value = "FintechRentRepayOrder对象")
public class FintechRentRepayOrder implements Serializable{

       @ApiModelProperty(value = "app_key")
       private String appKey;

       @TableId(value = "repay_key", type = IdType.UUID)
       @ApiModelProperty(value = "还款单")
       private String repayKey;

       @ApiModelProperty(value = "用户ID")
       private String userKey;

       @ApiModelProperty(value = "租售单ID")
       private String rentOrderKey;

       @ApiModelProperty(value = "1账期还款 2提前买断", example = "1")
       private Integer periodType;

       @ApiModelProperty(value = "还款单号")
       private String billKey;

       @ApiModelProperty(value = "还款期数ID")
       private String billLineKey;

       @ApiModelProperty(value = "还款期数，多个逗号隔开")
       private String linePeriods;

       @ApiModelProperty(value = "支付时间")
       private Date payTime;

       @ApiModelProperty(value = "还款时间")
       private Date reapayTime;

       @ApiModelProperty(value = "姓名")
       private String userName;

       @ApiModelProperty(value = "外部通道流水号")
       private String payTradeNo;

       @ApiModelProperty(value = "还款金额", example = "1")
       private Integer payAmt;

       @ApiModelProperty(value = "还款方式 01支付宝 02微信")
       private String payType;

       @ApiModelProperty(value = "状态 00未支付 01支付成功 02还款成功 03支付失败 04 还款失败")
       private String status;

       @ApiModelProperty(value = "创建时间")
       private Date createTime;

       @ApiModelProperty(value = "更新时间")
       private Date updateTime;

       @ApiModelProperty(value = "还款返回消息")
       private String retRepayMsg;

       @ApiModelProperty(value = "支付返回的消息")
       private String retPayMsg;

}
